package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 借书信息
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2022-04-22 17:34:32
 */
@TableName("jieshuxinxi")
public class JieshuxinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public JieshuxinxiEntity() {
		
	}
	
	public JieshuxinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 图书编号
	 */
					
	private String tushubianhao;
	
	/**
	 * 书名
	 */
					
	private String shuming;
	
	/**
	 * 封面
	 */
					
	private String fengmian;
	
	/**
	 * 作者
	 */
					
	private String zuozhe;
	
	/**
	 * 出版社
	 */
					
	private String chubanshe;
	
	/**
	 * 用户名
	 */
					
	private String yonghuming;
	
	/**
	 * 姓名
	 */
					
	private String xingming;
	
	/**
	 * 借书数量
	 */
					
	private Integer jieshushuliang;
	
	/**
	 * 借书时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date jieshushijian;
	
	/**
	 * 借书押金
	 */
					
	private Integer jieshuyajin;
	
	/**
	 * 借书租金
	 */
					
	private Integer jieshuzujin;
	
	/**
	 * 借书状态
	 */
					
	private String jieshuzhuangtai;
	
	/**
	 * 借书期限
	 */
					
	private String jieshuqixian;
	
	/**
	 * 是否审核
	 */
					
	private String sfsh;
	
	/**
	 * 审核回复
	 */
					
	private String shhf;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：图书编号
	 */
	public void setTushubianhao(String tushubianhao) {
		this.tushubianhao = tushubianhao;
	}
	/**
	 * 获取：图书编号
	 */
	public String getTushubianhao() {
		return tushubianhao;
	}
	/**
	 * 设置：书名
	 */
	public void setShuming(String shuming) {
		this.shuming = shuming;
	}
	/**
	 * 获取：书名
	 */
	public String getShuming() {
		return shuming;
	}
	/**
	 * 设置：封面
	 */
	public void setFengmian(String fengmian) {
		this.fengmian = fengmian;
	}
	/**
	 * 获取：封面
	 */
	public String getFengmian() {
		return fengmian;
	}
	/**
	 * 设置：作者
	 */
	public void setZuozhe(String zuozhe) {
		this.zuozhe = zuozhe;
	}
	/**
	 * 获取：作者
	 */
	public String getZuozhe() {
		return zuozhe;
	}
	/**
	 * 设置：出版社
	 */
	public void setChubanshe(String chubanshe) {
		this.chubanshe = chubanshe;
	}
	/**
	 * 获取：出版社
	 */
	public String getChubanshe() {
		return chubanshe;
	}
	/**
	 * 设置：用户名
	 */
	public void setYonghuming(String yonghuming) {
		this.yonghuming = yonghuming;
	}
	/**
	 * 获取：用户名
	 */
	public String getYonghuming() {
		return yonghuming;
	}
	/**
	 * 设置：姓名
	 */
	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
	/**
	 * 获取：姓名
	 */
	public String getXingming() {
		return xingming;
	}
	/**
	 * 设置：借书数量
	 */
	public void setJieshushuliang(Integer jieshushuliang) {
		this.jieshushuliang = jieshushuliang;
	}
	/**
	 * 获取：借书数量
	 */
	public Integer getJieshushuliang() {
		return jieshushuliang;
	}
	/**
	 * 设置：借书时间
	 */
	public void setJieshushijian(Date jieshushijian) {
		this.jieshushijian = jieshushijian;
	}
	/**
	 * 获取：借书时间
	 */
	public Date getJieshushijian() {
		return jieshushijian;
	}
	/**
	 * 设置：借书押金
	 */
	public void setJieshuyajin(Integer jieshuyajin) {
		this.jieshuyajin = jieshuyajin;
	}
	/**
	 * 获取：借书押金
	 */
	public Integer getJieshuyajin() {
		return jieshuyajin;
	}
	/**
	 * 设置：借书租金
	 */
	public void setJieshuzujin(Integer jieshuzujin) {
		this.jieshuzujin = jieshuzujin;
	}
	/**
	 * 获取：借书租金
	 */
	public Integer getJieshuzujin() {
		return jieshuzujin;
	}
	/**
	 * 设置：借书状态
	 */
	public void setJieshuzhuangtai(String jieshuzhuangtai) {
		this.jieshuzhuangtai = jieshuzhuangtai;
	}
	/**
	 * 获取：借书状态
	 */
	public String getJieshuzhuangtai() {
		return jieshuzhuangtai;
	}
	/**
	 * 设置：借书期限
	 */
	public void setJieshuqixian(String jieshuqixian) {
		this.jieshuqixian = jieshuqixian;
	}
	/**
	 * 获取：借书期限
	 */
	public String getJieshuqixian() {
		return jieshuqixian;
	}
	/**
	 * 设置：是否审核
	 */
	public void setSfsh(String sfsh) {
		this.sfsh = sfsh;
	}
	/**
	 * 获取：是否审核
	 */
	public String getSfsh() {
		return sfsh;
	}
	/**
	 * 设置：审核回复
	 */
	public void setShhf(String shhf) {
		this.shhf = shhf;
	}
	/**
	 * 获取：审核回复
	 */
	public String getShhf() {
		return shhf;
	}

}
